/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.josoull.mybatis.mapper;

import com.josoull.mybatis.TO.ParamFunInsertarTipoTrabajador;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.mapping.StatementType;

/**
 *
 * @author Renato
 */
public interface StoreProcedureMapper {
     @Select(value= "{#{retorno, mode=OUT, jdbcType=BOOLEAN}  =  "
            + "call fun_insertatipotrabajador(#{idTipo, mode=IN, jdbcType=INTEGER} , "
            + " #{descripcionTipo, mode=IN, jdbcType=VARCHAR})} ")
    @Options(statementType = StatementType.CALLABLE)
    public Object callFunInsertaTipoTrabajador(ParamFunInsertarTipoTrabajador param);
}
